<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tutorland Back Office System</title>
<link href="<?=base_url()?>css/style.css" rel="stylesheet" type="text/css" />
</head>

<body class="oneColElsCtrHdr">
<div id="container">
<br />
<br />
<br />
  
<div id="mainContent">
	<?=form_open('login')?>
		<div style="width:1024px;">
		  <table width="600px" align="center" cellpadding="2" cellspacing="2" style="border: 1px solid #0000FF; background-color: #FFFFFF">
		  	<col width="200px" />
		    <col width="400px" />
		    <tr bgcolor="#000974">
		      <td colspan="2" style="color:#FFFFFF;" align="left"><label>.:: Login</label></td>
		    </tr>
		    <tr>
		      <td align="right"><?=form_label('Username', 'userName')?></td>
		      <td align="left"><?php
		      					$data = array('name' => 'userName', 'id' => 'userName', 'maxlength' => '20', 'style'=> 'width:130px');
		      					echo form_input($data, set_value('userName')); ?> <?=form_error('userName')?></td>
		    </tr>
		    <tr>
		      <td align="right"><?=form_label('Password', 'password')?></td>
		      <td align="left"><?php
		      					 $data = array('name' => 'password', 'id' => 'password', 'maxlength' => '20', 'style'=> 'width:130px');
		      					 echo form_password($data, set_value('password')); ?> <?=form_error('password')?></td>
		    </tr>
		    <tr>
		      <td align="right">&nbsp;</td>
		      <td align="left"><?=form_submit('login', 'Login')?></td>
		    </tr>
		    <tr style="height:5px;">
		      <td colspan="2">&nbsp;</td>
		    </tr>
		    <tr>
		      <td colspan="2" align="right"><div align="center">กรณีลืม password กรุณาใช้ e-mail ของท่านส่งข้อความขอ password ใหม่<br /> 
		      มาที่สถาบันนะคะ (e-mail_of_school@mail.com)</div></td>
		    </tr>
		  </table>
		</div>  
	<?=form_close();?>
</div>
